<?php
class MySql
{
	protected $_link = NULL;
	protected $_last_sql = null;
	protected $_error = null;
	protected $_config = array();
	public function __construct($type='master')
	{
		if (!isset(Config::$DB[$type])){
			exit("MySQL Connect Error:Config not exist");
		}
		$this->_config = Config::$DB[$type];
	}
	
	public static function db_r()
	{
		
	}
	
	
}